package ${package};

import com.jfinal.core.Controller;
import com.jfinal.validate.Validator;

public class ${className}Validator extends Validator {
	
	@Override
	protected void validate(Controller controller) {
		validateRequired("", "", "");
	}
	
	@Override
	protected void handleError(Controller controller) {
		addError("isok", "false");
		c.renderJson();	
	}
}
